#pragma once

#include "rtda/heap/method.h"
#include "rtda/heap/class.h"


namespace jvm {
    namespace heap {

        std::shared_ptr<Method> lookupMethodInClass(std::shared_ptr<Class> pClass,
            const std::string& name,
            const std::string& descriptor);

        std::shared_ptr<Method> lookupMethodInInterfaces(const std::vector<std::shared_ptr<Class>>& interfaces,
            const std::string& name,
            const std::string& descriptor);

    } // namespace heap
} // namespace jvm